
// Copyright (c) 2002 HTHK
package com.ffpc.util;

import java.text.*;

/**
 * A Class class.
 * <P>
 * @author HTHK
 */
public class NumberFormatter
{
  private static DecimalFormat df = new DecimalFormat("0");
  private static DecimalFormat dfInt = new DecimalFormat("########0");
  private static DecimalFormat dfCur = new DecimalFormat("$###,###,##0.00");

  public final static int parseInt(String s)
      throws ParseException
  {
      return Integer.parseInt(dfInt.parse(s).toString());
  }
}

 